package cc.rengu.igas.channel.wechat.facade.response;

import cc.rengu.igas.channel.wechat.facade.base.BaseResponse;

/**
 * 获取用户open应答
 */
public class WechatGetOpenIdResponse extends BaseResponse {
    private String accessToken; /*网页授权接口调用凭证*/
    private String expiresIn;   /*凭证超时时间*/
    private String openId;      /*用户唯一标识*/
    private String refreshToken;/*用户刷新令牌*/
    private String nickName; /*昵称*/
    private String sex;   /*性别*/
    private String province;      /*省*/
    private String city;    /*市*/
    private String country;   /*用户所在国家*/
    private String userImagePath;      /*用户图像*/
    private String userPrivilege;    /*特权*/
    private String unionId;    /*特权*/

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getUserImagePath() {
        return userImagePath;
    }

    public void setUserImagePath(String userImagePath) {
        this.userImagePath = userImagePath;
    }

    public String getUserPrivilege() {
        return userPrivilege;
    }

    public void setUserPrivilege(String userPrivilege) {
        this.userPrivilege = userPrivilege;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(String expiresIn) {
        this.expiresIn = expiresIn;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }
}
